<%@page import="com.gohi.main.util.Utils"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
<script type="text/javascript"
	src="<s:url value='/js/jquery-1.7.1.min.js'/>"></script>
<script type="text/javascript" src="<s:url value='/js/wxapi.js?a=1'/>"></script>
<script type="text/javascript">
	///
	function setCookie(name, value, expires, path, domain, secure) {
		document.cookie = name + "=" + escape(value)
				+ ((expires) ? "; expires=" + expires.toGMTString() : "")
				+ ((path) ? "; path=" + path : "")

				+ ((secure) ? "; secure" : "");
	}
	//+ ((domain) ? "; domain=" + domain : "")
	function getCookie(name) {
		var prefix = name + "=";
		var start = document.cookie.indexOf(prefix);

		if (start == -1) {
			return null;
		}

		var end = document.cookie.indexOf(";", start + prefix.length);
		if (end == -1) {
			end = document.cookie.length;
		}
		var value = document.cookie.substring(start + prefix.length, end);
		return unescape(value);
	}
	localStorage.setItem("openid", "")
	var expires = new Date();
	expires.setTime(expires.getTime() + (30 * 24 * 3600 * 1000));
	setCookie("openid", localStorage.getItem("openid"), expires);
</script>

</head>
<body>

</body>
</html>